database_skill:在 Agent 里统一连库、查表与跑事务
database_skill 是 SkillHub 上由 user_e71390e8 发布的社区开发类 Skill(v1.0.0),基于 Python 3.8+,支持 MySQL、PostgreSQL、Oracle、SQL Server 与 SQLite。提供连接管理、参数化查询、schema 自省与事务管理,标签 requires_api_key=false。文章说明其定位与核实功能,并给出按 skillhub.md 安装 @user_e71390e8/dbskill 及 Cursor 等客户端 skills 目录示例;公开页无详细 SQL 示例,用法以安装后 SKILL.md 为准,并提醒权限、驱动与生产库安全。
Read MoreMongoDB vs MySQL: Which Database Should Beginners Choose?
Databases are used for efficient data management, storage, and querying. The core mainstream databases are MySQL (relational) and MongoDB (non-relational). MySQL has a fixed structure (requiring pre-defined table schemas), reliable transactions (supports transactions to ensure consistency), and powerful SQL query capabilities. It is suitable for scenarios with clear data structures and transaction support (e.g., e-commerce user-order-product systems, financial transactions). MongoDB stores data in document form (similar to JSON), offers flexible structures (fields can be added or removed at any time), and has strong scalability. It is ideal for scenarios with variable data structures or unstructured data (e.g., rapidly iterating apps, blogs, logs). For beginners, project requirements should guide the choice: select MySQL for fixed structures, MongoDB for flexible needs, or a hybrid approach (e.g., MySQL for core data, MongoDB for user-generated content). There is no absolute superiority between the two; suitability is key. Beginners can experience their characteristics through small projects.
Read More